package com.nursinghome.common.service;

import com.nursinghome.bean.PageFilter;
import com.nursinghome.bean.Service;
import com.nursinghome.exception.NurisingHomeException;

/**
* @author 程硕
* @createDate 2025-04-07 01:10:33
*/
public interface ServiceService  {
    //新增
    Boolean insert(Service service) throws NurisingHomeException;
    //修改
    Boolean update(Service service) throws NurisingHomeException;
    // 删除
    Boolean delete(Integer id) throws NurisingHomeException;
    //根据id回显数据
    Service selectById(Integer id);
    //查询所有
    PageFilter<Service> selectAll(String pageNum, String pageSize, String desc, String order, Service service);
}
